<template>
	<view>
        <view class="title">
            <uni-icon type="checkbox-filled" size="120" style='color: #13CE66;'></uni-icon>
            <view style="font-size: 30upx;margin-top: 20upx;">您的申请已经提交，请耐心等待审核</view>
        </view>
		<view class="mode">
			<text>退款方式：原路退回</text><br />
			<view style="margin: 30upx 0 30upx 0;">
				<text>退货类型：</text>
				<span v-if="type === 1">仅退款/</span>
				<span v-if="type === 2">退货退款</span>
			</view>
		</view>
		<view class="footer">
			<button class="btn" @click="todetail">进度查询</button>
			<button class="btn" style="background: #D7000F;color: #FFFFFF;" @click="tologin">返回首页</button>
		</view>
	</view>
</template>

<script>
	import {
		get,
		post,
		showToast
	} from '../../../js/common';
	export default {
		onLoad(option) {
			this.type = option.type
		},
		methods: {
			todetail() {
				uni.navigateTo({
					url: '/pages/aftersale/index'
				})
			},
			tologin() {
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style>
	page{
		background: #FFFFFF;
	}
.title{
	width: 100%;
	padding-top: 100upx;
	text-align: center;
}
.header{
	margin: 0 auto;
}

.img{
	width: 180upx;
	heiget:180upx;
}
.mode{
	font-size: 30upx;
	color: #999999;
	padding: 20upx;
	margin-top: 40upx;
	border-top: 2upx solid #E6E6E6;
	border-bottom: 2upx solid #E6E6E6;
}
.footer{
	display: flex;
	margin-top: 50upx;
}
.btn{
	font-size: 30upx;
}
</style>
